<%@page contentType="text/html; charset=utf-8"%>
<!DOCTYPE html>
<html>
<head>
    <title>创业武汉合伙人</title>
    <%@include file="common/header.jsp"%>
    </head>
<body>
<!-- page 容器 -->
<div class="page">

    <script>
        function activityIcon(){
            var activity = document.getElementById("activity");
            if(activity==null){
                return
            }
            var icon = document.getElementById("icon1");
            if(activity.style.display=='block'){
                activity.style.display='none';
                icon.className="icon icon-down";
            }
            else{
                activity.style.display='block';
                icon.className="icon icon-up";
            }
        }

        function homeIcon(){
            var home = document.getElementById("home");
            if(home==null){
                return
            }
            var icon = document.getElementById("icon3");
            if(home.style.display=='block'){
                home.style.display='none';
                icon.className="icon icon-down";
            }
            else{
                home.style.display='block';
                icon.className="icon icon-up";
            }
        }
    </script>


    <!-- 标题栏 -->
    <header class="bar bar-nav bgcolor nobottom">
        <a class="button button-link button-nav whitecolor pull-left back  no-transition" href="javascript:history.go(-1);">
            <span class="icon icon-left"></span>
        </a>
        <h1 class="title whitecolor">导师</h1>
    </header>

    <!-- 工具栏 -->
   <!-- <nav class="bar bar-tab">
        <a class="tab-item active" href="#">
            <span class="icon icon-home"></span>
            <span class="tab-label">首页</span>
        </a>
        <a class="tab-item" href="#">
            <span class="icon icon-star"></span>
            <span class="tab-label">收藏</span>
        </a>
        <a class="tab-item" href="#">
            <span class="icon icon-settings"></span>
            <span class="tab-label">设置</span>
        </a>
    </nav>-->

    <!-- 这里是页面内容区 -->
    <div class="content whitebg graycolor">
        <div class="graycolor">
            <div class="list-block media-list m_top" href="#">
                <ul>
                    <li class="item-content m_bottom">
                        <div class="item-media">
                            <img src="${Dict.prefix('UPLOAD')}${dsEmp.iconUrl}" width="60">
                        </div>
                        <div class="item-inner">
                            <div class="item-title-row">
                                <div class="item-title"><strong>${dsEmp.empName}</strong><span class="little_size"> &nbsp; &nbsp;${dsEmp.zw}</span></div>
                            </div>
                            <div class="item-title m_bottom"><span class="little_size">${dsEmp.dwName} &nbsp;</span></div>
                            <!-- 
                            <div class="item-title little_size"><a class="fa fa-heart themecolor" aria-hidden="true"> 收藏</a> &nbsp;&nbsp;&nbsp;&nbsp;<a class="fa fa-share themecolor" aria-hidden="true"> 分享</a></div>
                             -->
                        </div>
                    </li>
                </ul>
            </div>
        </div>
        <div class="live little_size">
            <div class="intro-left">关注领域</div>
            <div class="intro-content" href="activity_detail.html">
                <div class="">
                ${dsEmp.labelFocusOn}
                </div>
            </div>
        </div>
        <div class="live little_size">
            <div class="intro-left">参加的活动</div>
            <div class="intro-content">
                <c:forEach items="${activityPager.resultList}" var="activity" varStatus="status">
                    <c:if test="${status.first}">
                        ${activity.activityName}<br/>
                        <div id="activity" style="display: none">
                    </c:if>
                    <c:if test="${!status.first}">
                        <p>${activity.activityName}</p>
                    </c:if>
                    <c:if test="${status.last}">
                        </div>
                    </c:if>
                </c:forEach>
            </div>
            <div class="intro-right">  <span class="icon icon-down" id="icon1" onclick="activityIcon()"></span></div>
        </div><!-- 
        <div class="live little_size">
            <div class="intro-left">帮贫项目</div>
            <div class="intro-content" href="activity_detail.html">
                2016年武汉创业投资峰会2016年武汉创业投资峰会<br/>
                <div id="project" style="display: none">
                    狂取经+疯狂融资<br/>
                    启迪之星2016创业营房<br/>
                    启迪之星2016创业营<br/>
                    武汉创业投资峰会<br/>
                    狂取经+疯狂融资<br/>
                </div>
            </div>
            <div class="intro-right">  <span class="icon icon-down" id="icon2"></span></div>
        </div> -->
        <div class="live little_size">
            <div class="intro-left">进驻的创业之家</div>
            <div class="intro-content">
                <c:forEach items="${cyzjPager.resultList}" var="cyzjOrg" varStatus="status">
                <c:if test="${status.first}">
                    ${cyzjOrg.orgName}<br>
                    <div id="home" style="display: none">
                </c:if>
                <c:if test="${!status.first && !status.last}">
                    <p>${cyzjOrg.orgName}</p>
                </c:if>
                <c:if test="${status.last}">
                    </div>
                </c:if>
                </c:forEach>
            </div>
            <div class="intro-right">  <span class="icon icon-down" id="icon3" onclick="homeIcon()"></span></div>
        </div>
        <div class="home p_row p_col">
            <div class="title_style">个人简介</div>
            <div class="little_size">
                ${dsEmp.empDesc}
            </div>
        </div>
    </div>

</div>

</body>
</html>
<%@include file="common/footer.jsp"%>
<script>
    $.init();
//    $("#icon1").click(function(){
//        if($("#activity").css('display')=='none') {
//            $("#icon1").removeClass("icon-down").addClass("icon-up");
////            $("#activity").show();
//            $("#activity").css('display','block');
//        }else{
//            $("#icon1").removeClass("icon-up").addClass("icon-down");
////            $("#activity").hide();
//            $("#activity").css('display','none');
//        }
//    });
//    $("#icon2").click(function(){
//        if($("#project").css('display')=='none') {
//            $("#icon2").removeClass("icon-down").addClass("icon-up");
////            $("#project").show();
//            $("#project").css('display','block');
//        }else{
//            $("#icon2").removeClass("icon-up").addClass("icon-down");
////            $("#project").hide();
//            $("#project").css('display','none');
//        }
//    });
//    $("#icon3").click(function(){
//        if($("#home").css('display')=='none') {
//            $("#icon3").removeClass("icon-down").addClass("icon-up");
////            $("#home").show();
//            $("#home").css('display','block');
//        }else{
//            $("#icon3").removeClass("icon-up").addClass("icon-down");
////            $("#home").hide();
//            $("#home").css('display','none');
//        }
//    });
</script>